﻿using Future.Model.SysModel;

namespace Future.Model.DtoModel
{
    /// <summary>
    /// 描述：用户信息Dto
    /// 创建人： yangkai
    /// 创建时间：2022/12/6 20:50:48
    /// </summary>
    public class UserInfoDto
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 用户信息
        /// </summary>
        public UserModel User { get; set; } = new UserModel();

        /// <summary>
        /// 角色id
        /// </summary>
        public List<Guid> RoleIds { get; set; } = default!;

        /// <summary>
        /// 用户角色
        /// </summary>
        public List<RoleModel> Roles { get; set; } = new List<RoleModel>();
    }

    /// <summary>
    /// 用户修改密码Dto
    /// </summary>
    public class UserResetPwdDto
    {
        /// <summary>
        /// 旧密码
        /// </summary>
        public string OldPassword { get; set; } = string.Empty;

        /// <summary>
        /// 新密码
        /// </summary>
        public string NewPassword { get; set; } = string.Empty;
    }
}
